package com.course.component.constant;


public class TokenConstants {

    /**
     * 令牌自定义标识
     */
    public static final String AUTHENTICATION = "Authorization";

    /**
     * 令牌前缀
     */
    public static final String PREFIX = "Bearer ";

    /**
     * 令牌秘钥
     */
    public final static String SECRET = "abcdefghijklmnopqrstuvwxyz";


    //token前缀
    public static final String INTERSTELLAR_TOKEN_SUFFIX="cxj;";
    //用户ID
    public static final String KEY_USER_ID = "userId";
    //手机号
    public static final String KEY_TELEPHONE = "telephone";
    /**
     * 登录渠道类型
     */
    public static final String KEY_APP_TYPE = "requestSource";
    //token
    public static final String KEY_TOKEN = "token";
    //登录id
    public static final String KEY_LOGIN_ID = "loginId";

    public static final String SUPER_ADMIN_ID = "sai";
    //登录名
    public static final String KEY_LOGIN_NAME = "loginName";
    //用户姓名
    public static final String KEY_USER_NAME = "userName";

    /**
     * 车星际公众号token
     */
    public static final String INTERSTELLAR_TOKEN="i-token";

    /**
     * 请求来源，请求头
     */
    public static final String APP_TYPE_HEADERS = "Request-Source";
    //store token
    public static final String TOKEN_PROXY_HEADER_NAME="x-token";

}
